package com.jeesite.modules.carousel.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

@Table(name="h_carousel", alias="a", label="商户入驻表信息", columns={
        @Column(name="carousel_id", attrName="carouselId", label="主键id", isPK=true),
        @Column(name="carousel_url", attrName="carouselUrl", label="轮播图地址"),
        @Column(name="sort", attrName="sort", label="排序"),
        @Column(name="carousel_status", attrName="carouselStatus", label="状态", comment="【0：可用，1：不可用】"),
        @Column(name="create_by", attrName="createBy", label="创建者", isUpdate=false, isQuery=false),
        @Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false),
        @Column(name="update_by", attrName="updateBy", label="更新者"),
        @Column(name="update_date", attrName="updateDate", label="更新时间"),
        @Column(name="remarks", attrName="remarks", label="备注信息"),
}, orderBy="a.sort ASC"
)
public class Carousel extends DataEntity<Carousel> {

    private static final long serialVersionUID = 1L;

    private String carouselId;   // id

    private String carouselUrl;    // 轮播图地址

    private Integer sort;    // 排序

    private String carouselStatus;   // 状态【0：可用  1：不可用】

    public String getCarouselId() {
        return carouselId;
    }

    public void setCarouselId(String carouselId) {
        this.carouselId = carouselId;
    }

    public String getCarouselUrl() {
        return carouselUrl;
    }

    public void setCarouselUrl(String carouselUrl) {
        this.carouselUrl = carouselUrl;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCarouselStatus() {
        return carouselStatus;
    }

    public void setCarouselStatus(String carouselStatus) {
        this.carouselStatus = carouselStatus;
    }
}
